package com.lxd.sunso.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lxd.sunso.common.utils.PageUtils;
import com.lxd.sunso.product.entity.AlarmregisterEntity;
import com.lxd.sunso.product.vo.MessageVo;

import java.util.List;
import java.util.Map;

/**
 * @author lxd
 * @email sunlightcs@gmail.com
 * @date 2020-12-30 18:06:30
 */
public interface AlarmregisterService extends IService<AlarmregisterEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils search(String machineName, Map<String, Object> params);

    void newsave(AlarmregisterEntity alarmregister);

    AlarmregisterEntity findById(Long id);

    List<MessageVo> getKindAlarm();

    void sendEmail(String email, String content);

    void removeRegister(List<Long> asList);

    void sendMessage(String phone, String machineKind, String machineName, String machineId, String message);
}

